-
Home
-
WP Discourse
-
2.5.9 (latest)
-
Code
-
Classes
- DiscourseSidebar
| Total Complexity |
46 |
| Dependencies |
6 |
| Dependents |
0 |
| Total lines |
578 |
| Lines of code |
372 |
| Logical lines of code |
160 |
| Comment lines |
143 |
| Methods |
17 |
| Properties |
2 |
Methods 17
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| register_sidebar_routes() |
S |
37 |
1 |
119 |
| link_topic() |
S |
46 |
6 |
35 |
| enqueue_scripts() |
S |
43 |
5 |
49 |
| get_api_post_permissions() |
S |
55 |
6 |
17 |
| setup_options() |
S |
55 |
3 |
21 |
| publish_topic() |
S |
56 |
3 |
18 |
| update_topic() |
S |
57 |
3 |
17 |
| set_pin_meta() |
S |
57 |
3 |
16 |
| register_api_meta() |
S |
60 |
3 |
15 |
| get_api_category_permissions() |
S |
66 |
4 |
7 |
| unlink_post() |
S |
55 |
2 |
20 |
| set_publish_meta() |
S |
65 |
2 |
8 |
| __construct() |
S |
70 |
1 |
6 |
| rest_authorization_error() |
S |
66 |
1 |
9 |
| set_category_meta() |
S |
72 |
1 |
5 |
| set_tag_meta() |
S |
71 |
1 |
5 |
| get_categories() |
S |
71 |
1 |
5 |